package com.source.lightfowl.person.service;

import com.source.lightfowl.person.entity.Role;

import java.util.List;

public interface RoleService {

    void addRole(Role role);

    void deleteRole(String rid);

    List<Role> querryRole(String rname);

    List<Role> querryRoleAll();

    Role querryUserPower(String role);

    void updateRole(Role role);

    String findRid(String name);
}
